<%@page import="br.com.techfor.model.Funcionario"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<jsp:include page="cabecalho.jsp"></jsp:include>

<body>

<%
	Funcionario funcionario = (Funcionario) request
			.getAttribute("funcionario");
%>



<form action="salvaratualizacao" method="post">


<h3 align="center">Alterar Registro</h3>

<table
	style="color: #004080; font-size: 10px; font-family: Tahoma, Verdana, Arial, Sans-Serif;"
	border="1" bordercolor="gray" cellpadding="5">

	<thead>
		<tr
			style="color: #004080; font-size: 12px; font-family: Tahoma, Verdana, Arial, Sans-Serif; font-weight: bold">
			<th>Atributo</th>

		</tr>
	</thead>
	
	
	<tr>
	<td>  <input type="hidden" name="id" value="${funcionario.id}"> </td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.nome}"></td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.sobrenome}">
		</td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.apelido1}"></td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.apelido2}">
		</td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.celular}"></td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.telefone}">
		</td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.endereco}"></td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.bairro}"></td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.cidade}"></td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.cep}"></td>
	</tr>


	<tr>
		<td><input name="nome" value="${funcionario.cargo}"></td>
	</tr>


	<tr>
		<td><input name="nome" value="${funcionario.dataDeEntrada}"></td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.dataDeNascimento}">
		</td>
	</tr>
	<tr>
		<td><input name="nome" value="${funcionario.email}"></td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.setor}"></td>
	</tr>

	<tr>
		<td><input name="nome" value="${funcionario.sexo}"></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><input type="submit"
			value="Alterar"></td>
	</tr>

</table>

</form>

</body>
<jsp:include page="rodape.jsp"></jsp:include>

</html>